package com.ruoyi.algorithm.cross.block;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.beihu.sightplus.common.response.ResultData;
import org.springframework.stereotype.Component;
import org.springframework.web.multipart.MultipartFile;

@Component
public class MinIOBlock {
    public static ResultData uploadPicBlock(MultipartFile file, BlockException b) {
        return ResultData.success("上传文件降级");
    }
}
